package ch.unisi.inf.java.project.riskbami.model;


/**
 * Abstract class GenericCommand
 * 
 * @author minellir@lu.unisi.ch
 * @author babazadm@lu.unisi.ch
 */
public abstract class GenericCommand implements Command
{
    protected final Game game;
    
    /**
     * The constructor for the GenericCommand class
     * 
     * @param newGame The actual game
     */
    public GenericCommand(final Game newGame) {
        this.game = newGame;
    }
    
    /**
     * getGame is the getter for the game field
     * 
     * @return Game The actual game
     */
    public final Game getGame() {
        return game;
    }
    
}
